<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>upload</title>
    <link href="https://cdn.bootcss.com/twitter-bootstrap/4.1.3/css/bootstrap.css" rel="stylesheet">
    <script src="https://cdn.bootcss.com/twitter-bootstrap/4.1.3/js/bootstrap.js"></script>
</head>
<style>

</style>
<body>
    <h1>上传区</h1>
    <form action="http://localhost:8080/myapp/files" method="post" enctype="multipart/form-data">
        <input type="file" name="file">
        <input type="text" name="path" value="/">
        <input type="submit" value="上传">
    </form>
    <br>
    <br>
    <br>
    <h1>新建文件夹</h1>
    <form action="http://localhost:8080/myapp/folders" method="post" enctype="application/x-www-form-urlencoded">
        <input type="text" name="currentPath" value="./FileUpload/" >
        <input type="text" name="newFolderName" value="新文件名">
        <input type="submit" value="新建文件夹">
    </form>

    <br>
    <br>
    <br>
    <h1>删除文件夹(删除子文件)</h1>
    <form action="http://localhost:8080/myapp/folders" method="post" enctype="application/x-www-form-urlencoded">
        <input type="text" name="currentPath" value="./FileUpload/123/456/" >
        <input type="submit" value="删除文件夹">
    </form>

</body>
</html>